package com.example.demo.his.leetcode;

/**
 * @auther zzc
 * @date 2021/3/31 17:57
 */
public class 汉明距离 {

    public int getNum(int x, int y) {
        return Integer.bitCount(x ^ y);
    }
}
